package com.qqtop10.manager.service;

import java.util.List;
import java.util.Map;
import com.qqtop10.manager.model.Advertise;
import com.qqtop10.manager.model.PagingArgs;

public interface AdvertiseService {
	List<Advertise> all(Advertise input, PagingArgs pagingArgs);

	int count(Advertise input);

	boolean add(Advertise input);

	boolean update(Advertise input);

	boolean disable(Advertise input);

	List<Advertise> selectBySelective(Map<String, Object> map);
	
	int updateDisableShow(int type);
	
	int updateShow(Integer id);
	
	int selectTypeShowCount(int type);
	
	Advertise selectSearchBoxAdvertise();

}